{% extends "layout.html" %}
{% block content %}
    <div class="main-content personal-center">
        <div class="list-group aside-nav">
            <a href="{{url_for('category.list')}}" class="list-group-item list-group-item-action {{ 'active' if request.path == url_for('category.list') else ''}}">
                分类管理
            </a>
            <a href="{{url_for('user.list')}}" class="list-group-item list-group-item-action {{ 'active' if request.path == url_for('user.list') else ''}}">用户管理</a>
        </div>
        <div class="right-content">
            {% block main_content %}
            {% endblock %}
        </div>
    </div>
{% endblock %}